package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.FollowStudent;
import cn.wolfcode.crm.query.QueryForObject;

import java.util.List;

public interface FollowStudentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FollowStudent record);

    FollowStudent selectByPrimaryKey(Long id);

    List<FollowStudent> selectAll();

    int updateByPrimaryKey(FollowStudent record);

    int getTotalByQo(QueryForObject qo);

    List<FollowStudent> getListByQo(QueryForObject qo);

    void audit(FollowStudent followStudent);

    int queryFollowNumberByCustomerId(Long id);

    List<FollowStudent> queryFollowByCustomerId(Long id);

    void deleteByPotentialCustomerId(Long id);
}